using System;

class T {

	private static int[,,] bitrateTable = new int[,,]
			{  //table
			{  //V1
			{0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1},   //LI
			{0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1},   //LII
			{0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1}  //LIII
			},
			{  //V2
			{0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, -1},   //LI
			{0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1},   //LII
			{0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1}  //LIII
			}
			};

	private static int[,] samplingRateTable =new int[,]
			{  //table
			{44100, 48000, 32000, 0},   //V1
			{22050, 24000, 16000, 0},   //V2
			{11025, 12000, 8000, 0}  //V3
			};

	static int Main () {
		if (bitrateTable [0, 1, 2] == 48 && samplingRateTable [1, 2] == 16000)
			return 0;
		return 1;
	}
}

